<div class="glance-wrap">
	<p class="cluster-name"><span ng-bind="clusterName"></span> - <span ng-bind="comp"></span></p>
	<div class="table">
		<div class="table-head">
			<div class="table-cell left" style="width:5%">序号</div>
			<div class="table-cell left" style="width:23%">IP地址</div>
			<div class="table-cell left" style="width:12%">CPU核数</div>
			<div class="table-cell left" style="width:12%">CPU负载</div>
			<div class="table-cell left" style="width:12%">CPU占用(%)</div>
			<div class="table-cell left" style="width:12%">内存占用(%)</div>
			<div class="table-cell left" style="width:12%">状态</div>
			<div class="table-cell left" style="width:12%">操作</div>
		</div>
		<div class="table-content">
			<div class="table-row" ng-repeat="monit in monitList">
				<div class="table-cell left" style="width:5%" ng-bind="monit.index"></div>
				<div class="table-cell left" style="width:23%" ng-bind="monit.ip"></div>
				<div class="table-cell left" style="width:12%" ng-bind="monit.cpuCore"></div>
				<div class="table-cell left" style="width:12%" ng-bind="monit.cpuLoad"></div>
				<div class="table-cell left" style="width:12%" ng-bind="monit.cpuUsage|percentConvert"></div>
				<div class="table-cell left" style="width:12%" ng-bind="monit.memoryUsage|percentConvert"></div>
				<div class="table-cell left" style="width:12%" ng-bind="monit.status|statusConvert:'不可用-可用'"></div>
				<div class="table-cell left opts" style="width:12%" ng-class="{'loading-blank':monit.loading}">
					<a ng-click="restart(monit)"  class="pointer">重启</a>
					<a ng-click="stop(monit)" class="pointer">停止</a>
					<a ng-click="start(monit)" class="pointer">启动</a>
					<a target="_blank" ng-href="/rest/componetLog/downloadMysql?component={{comp}}&mysqlClusterId={{id}}&index={{monit.index}}" class="pointer">日志下载</a>
				</div>
			</div>
		</div>
	</div>
</div>
